public class Task {

    public static void main(String[] args) {
        Animal animal = new Animal();
        animal.makeSound();
        animal.move(100);

        Dog dog = new Dog();
        dog.makeSound();
        dog.move(100);
    }

}